#!/bin/bash

BASE_DIR=$(cd `dirname $0`;pwd)

cd $BASE_DIR/..
# svn up

#bash shell/gen_protocs.sh
rm -rf test

echo "..."
echo "GOPATH is $BASE_DIR/.. & $BASE_DIR/../deps"
echo "..."

GOPATH=$BASE_DIR/..:$BASE_DIR/../deps
go build -o test $BASE_DIR/../src/tmain.go

echo "Ready, Item is test"
echo "..."
